<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@include file="/common/taglibs.jsp" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
    <title>中奖列表</title>
    <link rel="stylesheet" href="${ctx }/css/mui.min.css"/>
    <link rel="stylesheet" href="${ctx }/css/dw-wx-login.css"/>
    <link rel="stylesheet" href="${ctx }/css/dw-wx-login-font.css"/>
    <script src="${ctx }/js/plugs/mui/jquery-1.8.3.min.js" type="text/javascript"></script>
    <script src="${ctx }/js/plugs/mui/mui.min.js" type="text/javascript"></script>
    <script>
    </script>
</head>
<body style="background: url(../images/bg.jpg);">
<header class="mui-bar mui-bar-nav" style="padding-right: 15px;">
    <a class=" mui-icon mui-icon-contact mui-pull-right" href="${ctx }/wexin/myInfo.do"></a>
    <a class=" mui-icon mui-icon-starhalf mui-pull-right" href="${ctx }/wexin/myPrize.do"></a>
    <a class=" mui-icon mui-icon-compose mui-pull-right" href="${ctx }/wexin/mySurvey.do"></a>
    <h1 class="mui-title"></h1>
</header>
<div class="mui-content">
    <ul class="mui-table-view">
        <c:forEach items="${stList }" var="en">
            <li class="mui-table-view-cell mui-media">
                <a href="${ctx }/wexin/myInfo.do?flag=0&&surveyId=${en.surveyId }">
                    <div>
                        <table style="width:100%" border="0">
                            <tr>
                                <td rowspan="2" style="width:10%">
                                    <div class="mui-media-body">
                                        <img class="mui-media-object mui-pull-left" src="${ctx }/images/dw-wx-survey.png">
                                    </div>
                                </td>
                                <td colspan="2" style="width:90%">${en.prizeTypeName }</td>


                            </tr>
                            <tr>
                                <!-- <td style="width:80%"><p class='mui-ellipsis'>en.createDate }</p></td> -->
                                <td style="width:20%"><p class='mui-ellipsis'>
                                    <c:if test="${en.approvalStatus == 1}">未处理</c:if>
                                    <c:if test="${en.approvalStatus == 2}">已发放</c:if>
                                    <c:if test="${en.approvalStatus == 3}">已寄出</c:if>
                                    <c:if test="${en.approvalStatus == 9}">已完成</c:if>
                                </p></td>
                                <td style="width:70%">
                                    <p class='mui-ellipsis  mui-pull-right'>抽奖时间:<fmt:formatDate
                                            value="${en.lotteryTime }" pattern="yyyy-MM-dd"/>
                                    </p>
                                </td>
                            </tr>
                        </table>
                    </div>
                </a>
            </li>
        </c:forEach>
    </ul>
</div>
<div class="footer">
    Powered by ACBSP China
</div>
</body>
</html>
